import { IsString, IsNumber, IsOptional } from "class-validator";

export class CreateUploadDto {
	@IsString()
	originalName: string;

	@IsString()
	filename: string;

	@IsString()
	mimetype: string;

	@IsNumber()
	size: number;

	@IsString()
	path: string;

	@IsString()
	url: string;

	@IsString()
	@IsOptional()
	type?: string;
}
